package com.rockcent.mall.lib.repository;

import com.rockcent.mall.lib.domain.AuthResource;
import com.rockcent.mall.lib.dto.AuthResourceDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by DK on 17/3/10.
 */
@Repository
public interface AuthResourceRepositoryCustom {
    List<AuthResourceDto> findAuthResourceDtoList(String systemType);

    List<AuthResource> findAuthResourceList(String systemType, Long id);

    Long findMaxSortByParentId(Long parentId, String systemType);

    List<AuthResourceDto> findAuthResourceDtoList(List<Long> resourceIdList, String systemType);
}

